#pragma once
#include <qmutex.h>
#include <qobject.h>

namespace stefanfrings
{
	class StaticFileController;
};
//class StaticFileController;
class StaticFileManager
{
private:
	explicit StaticFileManager(QObject* parent = 0);
	~StaticFileManager();

public:
	static StaticFileManager* getInstance();
	void setStaticFileController(stefanfrings::StaticFileController* pStaticFileController);
	stefanfrings::StaticFileController* getStaticFileController() const;

public:
	stefanfrings::StaticFileController* m_StaticFileController;
private:
	
	static QMutex m_mutex;
	static StaticFileManager* m_StaticFileManager;
};

